<?php
namespace Modules\Order\Providers;
use Konekt\Concord\BaseModuleServiceProvider;
class ModuleServiceProvider extends BaseModuleServiceProvider{
    public function register(){

        $this->loadRoutesFrom(__DIR__.'/../Http/routes.php');

    }
    //boot()在所有Provider注册完成后执行
    public function boot(){
        parent::boot();//调用父类的boot()
        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
        $this->loadViewsFrom(__DIR__ . '/../Http/Resources/views', 'order');

    }
}